Automattic\Jetpack\My_Jetpack\Products\Jetpack_Ai A

Total Complexity 73
Dependencies 6
Dependents 1
Total lines 586
Lines of code 306
Logical lines of code 104
Comment lines 204
Methods 31
Properties 2

Methods 31

Method Rating Maintainability Complexity Lines of code
get_pricing_for_ui_by_usage_tier()
A
47 12 35
get_ai_assistant_feature()
S
56 6 19
has_paid_plan_for_product()
S
59 6 14
get_features_by_tier()
S
44 3 57
add_ai_block()
S
62 6 10
get_next_usage_tier()
S
62 5 11
get_pricing_for_ui()
S
51 3 30
get_current_usage_tier()
S
62 4 11
is_upgradable()
S
66 4 8
get_features_by_usage_tier()
S
55 2 21
admin_enqueue_scripts()
S
59 1 17
get_long_description_by_usage_tier()
S
65 2 8
extend_plugin_action_links()
S
74 1 4
is_site_connected()
S
80 1 3
get_plugin_filename()
S
80 1 3
is_plugin_active()
S
80 1 3
is_plugin_installed()
S
80 1 3
get_manage_url()
S
81 1 3
get_post_activation_url()
S
81 1 3
get_post_checkout_url()
S
81 1 3
get_name()
S
81 1 3
get_tiers()
S
72 1 6
get_wpcom_bi_yearly_product_slug()
S
81 1 3
get_wpcom_monthly_product_slug()
S
81 1 3
get_wpcom_product_slug()
S
81 1 3
get_plugin_slug()
S
80 1 3
get_title()
S
81 1 3
get_features()
S
76 1 4
get_long_description()
S
76 1 4
get_description()
S
79 1 3
get_info()
S
72 1 5